import BaseModel from "@/common/model/base.model";
import {InstanceStateEnum} from "@/views/bpm/instance/enum/instance.enum";
import InstanceTaskModel from "@/views/bpm/instance/model/instance-task.model";

export class InstanceModel extends BaseModel {
    /**审批人*/
    assignee: string;
    /**业务主键*/
    businessKey: string;
    /**结束时间*/
    endTime: string;
    /**表单名称*/
    formName: string;
    /**模型key*/
    modelKey: string;
    /**模型名称*/
    modelName: string;
    /**流程定义id*/
    processDefinitionId: string;
    /**流程实例id*/
    procInstId: string;
    /**项目名称*/
    projectName: string;
    /**开始时间*/
    startTime: string;
    /**发起人*/
    starter: string;
    /**发起人id*/
    starterId: string;
    /**激活状态 激活状态 1激活 2挂起*/
    suspensionState: InstanceStateEnum;
    /**系统标识*/
    systemSn: string;
    /*当前活动的任务*/
    activateTaskList: InstanceTaskModel[];
}
